import { usenowDate } from '../util/util';


var storage = window.localStorage;


/**
 * 
 * @returns 其他出库单list
 */
export function use_qtck_initcolmun() {
  return [{ show: true, title: "序号", key: "xuhao" },
  { show: true, title: "单据号", key: "djh" ,
    style: { fontWeight: "600", fontSize: "12px" } 
  },
  { show: true, title: "创建时间", key: "create_time" },
  { show: true, title: "创建人", key: "create_by" },
  // { show: true, title: "更新时间", key: "update_time" },
  // { show: true, title: "更新人", key: "update_by" },
  { show: true, title: "制单人", key: "zdr" },
  { show: true, title: "领料部门", key: "llbm" },
  { show: true, title: "领料人", key: "llr" },
  { show: true, title: "单据类型", key: "djlx" },
  // { show: true, title: "出入库类型", key: "crklx" },
  // { show: true, title: "关联单据类型", key: "gldjlx" },
  // { show: true, title: "关联单据编号", key: "gldjbh" },
  { show: true, title: "备注", key: "bz" },
  ]
}

/**
 * 
 * @returns 其他出库单list
 */
export function use_qtck_mx_initcolmun() {
  return [{ show: true, title: "序号", key: "xuhao",width: "3rem", },
  { show: true, title: "单据号", key: "djh" , width: "6rem",
    style: { fontWeight: "600", fontSize: "12px" } 
  },
  { show: true, title: "制单人", key: "zdr" },
  { show: true, title: "领料人", key: "llr" },
  { show: true, title: "单据类型", key: "djlx" },
  { show: true, title: "出库日期", key: "create_timeq",width: "5rem" },
  { show: true, title: '物料名称', key: 'wlmc', width: "8rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: '物料编码', key: 'wlbm', width: "6rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: '规格型号', key: 'ggxh', width: "8rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: "数量", key: "sl",style:{fontSize: "12px" }, width: "3rem", },
  // { show: true, title: "单价", key: "dj",style:{fontSize: "12px" } },
  // { show: true, title: "合计金额", key: "hjje",style:{fontSize: "12px" } },
  { show: true, title: "仓库", key: "ck",style:{fontSize: "12px" } },
  { show: true, title: "批号", key: "ph" },

  ]
}
/**
 * 
 * @param {*} 其他出库单formdata 
 * @returns 
 */
export function use_qtck_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    djh: { ifdb: true, bt: false, value: '', placeholder: "新建自动生成", title: '单据号', dataIndex: 'djh', inputType: "readonly" },
    zdr: {
      ifdb: true, bt: true, value: "", title: '制单人', dataIndex: 'zdr', inputType: "select_item_new",
      datas_key: "datas_ry",
      popup_tansferarr: [{ origin: "label", target: "zdr" }]
    },
    kh_title: { ifdb: false, bt: false, value: "", title: '客户信息', dataIndex: 'kh_title', inputType: "title_item" },

    kh: {
      ifdb: true, bt: false, value: "", title: '客户', dataIndex: 'kh', inputType: "select_item_new",
      datas_key: "datas_kh",
      customlinewidth: "48.1%",
      popup_tansferarr: [{ origin: "mc", target: "kh" }, { origin: "value", target: "khid" }]
    },
    khid: { ifdb: true, bt: false, value: "", title: '客户id', dataIndex: 'khid', inputType: "none" },
    gys_title: { ifdb: false, bt: false, value: "", title: '供应商信息', dataIndex: 'gys_title', inputType: "title_item" },

    gysmc: {
      ifdb: true, bt: false, value: "", title: '供应商', dataIndex: 'gysmc', inputType: "select_item_new",
      customlinewidth: "48.1%",
      datas_key: "query_gys",
      popup_tansferarr: [
        { origin: "value", target: "gysid" },
        { origin: "label", target: "gysmc" },
      ]
    },
    gysid: { ifdb: true, bt: false, value: "", title: '供应商id', dataIndex: 'gysid', inputType: "none" },
    llxx_title: { ifdb: false, bt: false, value: "", title: '领料信息', dataIndex: 'llxx_title', inputType: "title_item" },


    llbm: {
      ifdb: true, bt: false, value: "", title: '领料部门', dataIndex: 'llbm', inputType: "select_item_new",
      datas_key: "datas_bm",
      popup_tansferarr: [{ origin: "label", target: "llbm" }, { origin: "value", target: "llbmid" }]
    },
    llbmid: { ifdb: true, bt: false, value: "", title: '领料部门id', dataIndex: 'llbmid', inputType: "none" },
    llr: {
      ifdb: true, bt: true, value: "", title: '领料人', dataIndex: 'llr', inputType: "select_item_new",
      datas_key: "datas_llry",
      popup_tansferarr: [{ origin: "label", target: "llr" }, { origin: "value", target: "llrid" }]
    },
    llrid: { ifdb: true, bt: false, value: "", title: '领料人id', dataIndex: 'llrid', inputType: "none" },
    ywlx: {
      ifdb: true, bt: true, value: "库存退货", title: '业务类型', dataIndex: 'ywlx', inputType: "select_item",
      selectdata: [
        { value: '库存退货', label: "库存退货" },{ value: '生产退货', label: "生产退货" }]
    },
    djlx: {
      ifdb: true, bt: false, value: "", title: '单据类型', dataIndex: 'djlx', inputType: "select_item",
      selectdata: [
        { value: '标准单', label: "标准单" }, { value: '调整单', label: "调整单" },]
    },
    gldjlx: {
      ifdb: true, bt: false, value: "", title: '关联单据类型', dataIndex: 'gldjlx', inputType: "none",
      selectdata: [
        { value: '生产订单', label: "生产订单" }, { value: '销售订单', label: "销售订单" },]
    },
    gldjbh: {
      bt: false, ifdb: true, dataIndex: "gldjbh", title: "关联单据编号", value: '', inputType: "none",
      popup_maintitle: "关联单据",
      popup_tansferarr: [
        { origin: "gldjbh", target: "gldjbh" },
        { origin: "gldjid", target: "gldjid" },
      ],
      datas_key: 'datas_gldj',
      popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "关联单据编号", key: "gldjbh" },
        { title: "关联单据类型", key: "gldjlx" }
      ]
    },
    gldjid: { ifdb: true, bt: false, value: "", title: '关联单据id', dataIndex: 'gldjid', inputType: "none", },
    bz: { ifdb: true, bt: false, value: "", title: '备注', dataIndex: 'bz', inputType: "input_text_item", },

  }
  return initformdata
}



/**
 * 
 * @returns 其他出库单mxlist columm
 */
export function use_qtck_mx_column_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var colmuns = [
    { ifdb: false, bt: false, defalut_v: "", value: "", title: '序号', dataIndex: 'xuhao', inputType: "readonly", width: "80px" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '原物料编码', dataIndex: 'jdbm', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "readonly", width: "8.8vw", },
    { ifdb: true, bt: true, defalut_v: "", value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "readonly",width: "12vw", },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '规格型号', dataIndex: 'ggxh', inputType: "select_item_new",
      width: "20vw",
      // popup_maintitle:'物料名称',popup_column: [
      //   { title: "序号", key: "xuhao" },
      //   { title: "物料名称", key: "wlmc" },
      //   { title: "物料编码", key: "wlbm" },
      //   { title: "规格型号", key: "ggxh" },
      //   { title: "单位", key: "dw" },
      //   { title: "版本号", key: "dw" },
      // ],
      datas_key: 'datas_wlmc',
      popup_tansferarr: [
        { origin: "wlmc", target: "wlmc" },
        { origin: "wlbm", target: "wlbm" },
        { origin: "ywlbm", target: "jdbm" },
        { origin: "ggxh", target: "ggxh" },
        { origin: "bbh", target: "bbh" },
        { origin: "dw", target: "dw" },
        { origin: "kcsl", target: "kcsl" },
      ],
    },
    {
      ifdb: true, bt: true, defalut_v: "", value: "", title: '单位', dataIndex: 'dw', inputType: "select_item_new", datas_key: 'dict_dw',
      popup_tansferarr: [
        { origin: "label", target: "dw" },
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '版本号', dataIndex: 'bbh', inputType: "input_item" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '数量', dataIndex: 'sl', inputType: "input_item" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '库存数量', dataIndex: 'kcsl', inputType: "readonly", width: "7vw", },

    { ifdb: true, bt: false, defalut_v: "", value: "", title: '单价', dataIndex: 'dj', inputType: "none" },


    { ifdb: true, bt: false, defalut_v: "", value: "", title: '合计金额', dataIndex: 'hjje', inputType: "none" },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '仓库', dataIndex: 'ck', inputType: "popup_item_datas", width: "11rem",
      popup_maintitle: '出库仓库', popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "仓库名称", key: "ckmc" },
        { title: "仓库编码", key: "ckbm" },
        { title: "仓库状态", key: "ckzt" }
      ],
      datas_key: 'datas_ckck',
      popup_tansferarr: [
        { origin: "ckmc", target: "ck" },
        { origin: "id", target: "ckid" }
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '仓库id', dataIndex: 'ckid', inputType: "none" }
  ]
  return colmuns
}



/**
 * 
 * @returns 其他入库单list
 */
export function use_qtrk_initcolmun() {
  return [{ show: true, title: "序号", key: "xuhao",width:"2.8rem" },
  { show: true, title: "单据号", key: "djh" ,
    style: { fontWeight: "600", fontSize: "12px" } 
  },
  { show: true, title: "入库日期", key: "rkrq" },
  { show: true, title: "仓管员", key: "cgy" },
  { show: true, title: "供应商", key: "gys" },
  { show: true, title: "备注", key: "bz" },

  ]
}

/**
 * 
 * @returns 其他入库单list
 */
export function use_qtrk_mx_initcolmun() {
  return [{ show: true, title: "序号", key: "xuhao",width:"2.8rem" },
  { show: true, title: "单据号", key: "djh",
    style: { color: "#306FDB",fontSize: "12px",  } 
   },
  { show: true, title: "入库日期", key: "rkrq",style:{fontSize: "12px" } },
  { show: true, title: "仓管员", key: "cgy",style:{fontSize: "12px" } },
  // { show: true, title: "供应商", key: "gys" },
  { show: true, title: '物料名称', key: 'wlmc', width: "8rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: '物料编码', key: 'wlbm', width: "8rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: '规格型号', key: 'ggxh', width: "8rem", style: { color: "#306FDB",fontSize: "12px",  } },
  { show: true, title: "数量", key: "sl",style:{fontSize: "12px" } },
  { show: true, title: "仓库", key: "ck",style:{fontSize: "12px" } },
  { show: true, title: "批号", key: "ph" },
  { show: true, title: "备注", key: "bz" },

  ]
}

/**
 * 
 * @param {*} 其他入库单formdata 
 * @returns 
 */
export function use_qtrk_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    djh: { ifdb: true, bt: false, value: '', placeholder: "新建自动生成", title: '单据号', dataIndex: 'djh', inputType: "readonly" },
    gys: {
      ifdb: true, bt: false, value: "", title: '供应商', dataIndex: 'gys', inputType: "select_item_new",
      datas_key: "datas_gys",
      popup_tansferarr: [{ origin: "label", target: "gys" }, { origin: "value", target: "gysid" }]
    },
    ywlx: {       ifdb: true, bt: true, value: "生产退库", title: '业务类型', dataIndex: 'ywlx', inputType: "select_item",   
          selectdata: [         { value: '生产退库', label: "生产退库" }]     },
    gysid: { ifdb: true, bt: false, value: "", title: '供应商id', dataIndex: 'gysid', inputType: "none" },
    cgy: {
      ifdb: true, bt: false, value: "", title: '仓管员', dataIndex: 'cgy', inputType: "select_item_new",
      datas_key: "datas_ry",
      popup_tansferarr: [{ origin: "label", target: "cgy" }, { origin: "value", target: "cgyid" }]
    },
    cgyid: { ifdb: true, bt: false, value: "", title: '仓管员id', dataIndex: 'cgyid', inputType: "none" },

    gldjlx: {
      ifdb: true, bt: false, value: "", title: '关联单据类型', dataIndex: 'gldjlx', inputType: "none",
      selectdata: [
        { value: '生产订单', label: "生产订单" }, { value: '销售订单', label: "销售订单" },]
    },
    gldjbh: {
      bt: false, ifdb: true, dataIndex: "gldjbh", title: "关联单据编号", value: '', inputType: "none",
      popup_maintitle: "关联单据",
      popup_tansferarr: [
        { origin: "gldjbh", target: "gldjbh" },
        { origin: "gldjid", target: "gldjid" },
      ],
      datas_key: 'datas_gldj',
      popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "关联单据编号", key: "gldjbh" },
        { title: "关联单据类型", key: "gldjlx" }
      ]
    },
    gldjid: { ifdb: true, bt: false, value: "", title: '关联单据id', dataIndex: 'gldjid', inputType: "none", },
    rkrq: {ifdb: true, bt: false, value: usenowDate(), title: '入库日期', dataIndex: 'rkrq', inputType: "date_item", },
    bz: { ifdb: true, bt: false, value: "", title: '备注', dataIndex: 'bz', inputType: "input_text_item", },

  }
  return initformdata
}



/**
 * 
 * @returns 其他入库单mxlist columm
 */
export function use_qtrk_mx_column_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var colmuns = [
    { ifdb: false, bt: false, defalut_v: "", value: "", title: '序号', dataIndex: 'xuhao', inputType: "readonly", width: "80px" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '原物料编码', dataIndex: 'jdbm', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "readonly", width: "8.8vw", },
    { ifdb: true, bt: true, defalut_v: "", value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "readonly",width: "12vw", },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '规格型号', dataIndex: 'ggxh', inputType: "select_item_new",
      width: "20vw",
      // popup_maintitle:'物料名称',popup_column: [
      //   { title: "序号", key: "xuhao" },
      //   { title: "物料名称", key: "wlmc" },
      //   { title: "物料编码", key: "wlbm" },
      //   { title: "规格型号", key: "ggxh" },
      //   { title: "单位", key: "dw" },
      //   { title: "版本号", key: "dw" },
      // ],
      datas_key: 'datas_wlmc',
      popup_tansferarr: [
        { origin: "wlmc", target: "wlmc" },
        { origin: "wlbm", target: "wlbm" },
        { origin: "ywlbm", target: "jdbm" },
        { origin: "ggxh", target: "ggxh" },
        { origin: "bbh", target: "bbh" },
        { origin: "dw", target: "dw" },
        { origin: "kcsl", target: "kcsl" },
      ],
    },
    {
      ifdb: true, bt: true, defalut_v: "", value: "", title: '单位', dataIndex: 'dw', inputType: "select_item_new", datas_key: 'dict_dw',
      popup_tansferarr: [
        { origin: "label", target: "dw" },
      ],disabled:true
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '版本号', dataIndex: 'bbh', inputType: "input_item",disabled:true },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '数量', dataIndex: 'sl', inputType: "input_item" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '库存数量', dataIndex: 'kcsl', inputType: "readonly", width: "7vw", },

    {
      ifdb: true, bt: true, defalut_v: "", value: "", title: '仓库', dataIndex: 'ck', inputType: "popup_item_datas", width: "8rem",
      popup_maintitle: '仓库', popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "仓库名称", key: "ckmc" },
        { title: "仓库编码", key: "ckbm" },
      ],
      datas_key: 'datas_ckck',
      popup_tansferarr: [
        { origin: "ckmc", target: "ck" },
        { origin: "id", target: "ckid" }
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '仓库id', dataIndex: 'ckid', inputType: "none" },
    { ifdb: true, bt: true, defalut_v: "000", value: "", title: '批号', dataIndex: 'ph', inputType: "input_item" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '单价', dataIndex: 'dj', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "0", value: "", title: '合计金额', dataIndex: 'hjje', inputType: "none" },

  ]
  return colmuns
}



/**
 * 
 * @returns 调拨单list
 */
export function use_dbd_initcolmun() {
  return [{ show: true, title: "序号", key: "xuhao" },
  { show: true, title: "创建时间", key: "create_time" },
  { show: true, title: "创建人", key: "create_by" },
  { show: true, title: "更新时间", key: "update_time" },
  { show: true, title: "更新人", key: "update_by" },
  { show: true, title: "出入库类型", key: "crklx" },
  { show: true, title: "关联单据类型", key: "gldjlx" },
  { show: true, title: "关联单据编号", key: "gldjbh" },
  { show: true, title: "备注", key: "bz" },
  { show: true, title: "单据状态", key: "djzt" },

  ]
}

/**
 * 
 * @param {*} 调拨单formdata 
 * @returns 
 */
export function use_dbd_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    djh: { ifdb: false, bt: false, value: '', placeholder: "新建自动生成", title: '单据号', dataIndex: 'djh', inputType: "readonly" },
    cgy: {
      ifdb: true, bt: false, value: "", title: '仓管员', dataIndex: 'cgy', inputType: "select_item_new",
      datas_key: "datas_ry",
      popup_tansferarr: [{ origin: "label", target: "cgy" }, { origin: "value", target: "cgyid" }]
    },
    llr: {
      ifdb: true, bt: false, value: "", title: '领料人', dataIndex: 'llr', inputType: "select_item_new",
      datas_key: "datas_llry",
      popup_tansferarr: [{ origin: "label", target: "llr" }, { origin: "value", target: "llrid" }]
    },
    llrid: { ifdb: true, bt: false, value: "", title: '领料人id', dataIndex: 'llrid', inputType: "none" },
    cgyid: { ifdb: true, bt: false, value: "", title: '仓管员id', dataIndex: 'cgyid', inputType: "none" },
    dbrq: { ifdb: false, bt: true, value: usenowDate(), title: '调拨日期', dataIndex: 'dbrq', inputType: "date_item" },
    gldjlx: {
      ifdb: true, bt: true, value: "", title: '关联单据类型', dataIndex: 'gldjlx', inputType: "none",
      selectdata: [
        { value: '生产订单', label: "生产订单" }, { value: '销售订单', label: "销售订单" },]
    },
    gldjbh: {
      bt: false, ifdb: true, dataIndex: "gldjbh", title: "关联单据编号", value: '', inputType: "none",
      popup_maintitle: "关联单据",
      popup_tansferarr: [
        { origin: "gldjbh", target: "gldjbh" },
        { origin: "gldjid", target: "gldjid" },
      ],
      datas_key: 'datas_gldj',
      popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "关联单据编号", key: "gldjbh" },
        { title: "关联单据类型", key: "gldjlx" }
      ]
    },
    gldjid: { ifdb: true, bt: false, value: "", title: '关联单据id', dataIndex: 'gldjid', inputType: "none", },

    bz: { ifdb: true, bt: false, value: "", title: '备注', dataIndex: 'bz', inputType: "input_text_item", },

  }
  return initformdata
}



/**
 * 
 * @returns 调拨单mxlist columm
 */
export function use_dbd_mx_column_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var colmuns = [
    { ifdb: false, bt: false, defalut_v: "", value: "", title: '序号', dataIndex: 'xuhao', inputType: "readonly", width: "80px" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "popup_item_datas",
      popup_maintitle: '物料名称', popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "物料名称", key: "wlmc" },
        { title: "物料编码", key: "wlbm" },
        { title: "规格型号", key: "ggxh" },
        { title: "单价", key: "dj" }
      ],
      datas_key: 'datas_wlmc',
      popup_tansferarr: [
        { origin: "wlmc", target: "wlmc" },
        { origin: "wlid", target: "wlid" },
        { origin: "wlbm", target: "wlbm" },
        { origin: "ggxh", target: "ggxh" },
        { origin: "dj", target: "dj" },
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '物料id', dataIndex: 'wlid', inputType: "none" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "readonly" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '规格型号', dataIndex: 'ggxh', inputType: "readonly" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '单价', dataIndex: 'dj', inputType: "input_item" },
    {
      ifdb: true, bt: true, defalut_v: "", value: "", title: '单位', dataIndex: 'dw', inputType: "select_item_new", datas_key: 'dict_dw',
      popup_tansferarr: [
        { origin: "label", target: "dw" },
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '数量', dataIndex: 'sl', inputType: "input_item" },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '合计金额', dataIndex: 'hjje', inputType: "input_item" },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '出库仓库', dataIndex: 'ckck', inputType: "popup_item_datas",
      popup_maintitle: '出库仓库', popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "仓库名称", key: "ckmc" },
        { title: "仓库编码", key: "ckbm" },
        { title: "仓库状态", key: "ckzt" }
      ],
      datas_key: 'datas_ckck',
      popup_tansferarr: [
        { origin: "ckmc", target: "ckck" },
        { origin: "id", target: "ckckid" }
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '出库仓库id', dataIndex: 'ckckid', inputType: "none" },
    {
      ifdb: true, bt: false, defalut_v: "", value: "", title: '入库仓库', dataIndex: 'rkck', inputType: "popup_item_datas",
      popup_maintitle: '入库仓库', popup_column: [
        { title: "序号", key: "xuhao" },
        { title: "仓库名称", key: "ckck" },
        { title: "仓库类型", key: "cklx" },
        { title: "所处位置", key: "wz" }
      ],
      datas_key: 'datas_ckck',
      popup_tansferarr: [
        { origin: "ckmc", target: "rkck" },
        { origin: "id", target: "rkckid" }
      ],
    },
    { ifdb: true, bt: false, defalut_v: "", value: "", title: '入库仓库id', dataIndex: 'rkckid', inputType: "none" }
  ]
  return colmuns
}

/**
 * 
 * @returns 标签-重汽colmun
 */
export function use_bqdy_zq_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "4rem"  ,style:{fontSize:"12px"}},
    { show: true, title: "物料编码", key: "wlbm" ,width: "9rem"},
    //{ show: true, title: "旧物料名称", key: "jwlbm" },
    { show: true, title: "物料名称", key: "wlmc", width: "15rem",style:{fontSize:"12px",color:"#0c0ce2"} },
    { show: true, title: "条码号", key: "tmh",width: "5rem" },
    { show: true, title: "ID属性", key: "idsx" ,width: "4rem" },
    { show: true, title: "质量特性", key: "zltx",width: "4rem" },
    { show: true, title: "打印日期", key: "dyrq" ,width: "7rem", style:{fontSize:"12px"}},
    { show: true, title: "起始流水号", key: "qslsh",width: "6rem" },
    { show: true, title: "批次号", key: "pch",width: "6rem" },
    { show: true, title: "数量", key: "sl",width: "4rem" },

    
  ]
}

/**
 * 
 * @param {*} 标签-重汽formdata 
 * @returns 
 */
export function use_bqdy_zq_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    jwlbm: { ifdb: true, bt: false, value: "", title: '旧物料名称', dataIndex: 'jwlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    tmh: { ifdb: true, bt: false, value: "", title: '条码号', dataIndex: 'tmh', inputType: "input_item" },
    idsx: { ifdb: true, bt: false, value: "", title: 'ID属性', dataIndex: 'idsx', inputType: "input_item" },
    zltx: { ifdb: true, bt: false, value: "", title: '质量特性', dataIndex: 'zltx', inputType: "input_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },
    zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "readonly" },
    bqlx: { ifdb: true, bt: false, value: "标签_重汽", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    qslsh: { ifdb: true, bt: false, value: "", title: '起始流水号', dataIndex: 'qslsh', inputType: "input_number_item" },
    pch: { ifdb: true, bt: false, value: "", title: '批次号', dataIndex: 'pch', inputType: "input_number_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
  }
  return initformdata
}

/**
 * 
 * @returns 标签-苏州金龙colmun
 */
export function use_bqdy_szjr_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx" ,width: "5rem"  ,style:{fontSize:"12px"} },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "条码号", key: "tmh" },
    { show: true, title: "打印日期", key: "dyrq" },
    { show: true, title: "数量", key: "sl" },
    
  ]
}

/**
 * 
 * @param {*} 标签-苏州金龙formdata 
 * @returns 
 */
export function use_bqdy_szjr_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    tmh: { ifdb: true, bt: false, value: "", title: '条码号', dataIndex: 'tmh', inputType: "input_item" },
    zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "readonly" },
    bqlx: { ifdb: true, bt: false, value: "标签_苏州金龙", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-精益达colmun
 */
export function use_bqdy_jyd_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "5rem"  ,style:{fontSize:"12px"} },
    { show: true, title: "物料编码", key: "wlbm" , width: "6rem" },
    //{ show: true, title: "物料英文名称", key: "jwlbm" },
    { show: true, title: "物料名称", key: "wlmc" , width: "7rem",style:{fontSize:"12px",color:"#0c0ce2"} },
    { show: true, title: "供应商号", key: "gysh", width: "3rem" },
    { show: true, title: "采购类型", key: "cglx" , width: "3rem"},
    { show: true, title: "包装数量", key: "bzsl", width: "3rem" },
    { show: true, title: "打印日期", key: "dyrq", width: "8rem" },
    { show: true, title: "单位", key: "dw" , width: "3rem"},
    { show: true, title: "原产地", key: "ycd", width: "6rem",style:{fontSize:"12px"} },
    { show: true, title: "起始流水号", key: "qslsh" },
    { show: true, title: "终止流水号", key: "zzlsh" },
    { show: true, title: "打印份数", key: "dyfs", width: "3rem"  },
    { show: true, title: "版本号", key: "bbh", width: "3rem" },

  ]
}

/**
 * 
 * @param {*} 标签-精益达formdata 
 * @returns 
 */
export function use_bqdy_jyd_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    jwlbm: { ifdb: true, bt: false, value: "", title: '物料英文名称', dataIndex: 'jwlbm', inputType: "input_item" },
    gysh: { ifdb: true, bt: false, value: "", title: '供应商号', dataIndex: 'gysh', inputType: "input_item" },
    bbh: { ifdb: true, bt: false, value: "", title: '版本号', dataIndex: 'bbh', inputType: "input_item" },
    cglx: { ifdb: true, bt: false, value: "", title: '采购类型', dataIndex: 'cglx', inputType: "input_item" },
    bzsl: { ifdb: true, bt: false, value: "", title: '包装数量', dataIndex: 'bzsl', inputType: "input_number_item" },
    dw: { ifdb: true, bt: false, value: "", title: '单位', dataIndex: 'dw', inputType: "input_item" },
    ycd: { ifdb: true, bt: false, value: "", title: '原产地', dataIndex: 'ycd', inputType: "input_item" },
   zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "readonly" },
    bqlx: { ifdb: true, bt: false, value: "标签_精益达", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    qslsh: { ifdb: true, bt: false, value: "", title: '起始流水号', dataIndex: 'qslsh', inputType: "input_number_item" },
    zzlsh: { ifdb: true, bt: false, value: "", title: '终止流水号', dataIndex: 'zzlsh', inputType: "input_number_item" },
    dyfs: { ifdb: true, bt: false, value: "", title: '打印份数', dataIndex: 'dyfs', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },
  }
  return initformdata
}

/**
 * 
 * @returns 标签-膨胀水箱colmun
 */
export function use_bqdy_pzsx_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx" ,width: "5rem"  ,style:{fontSize:"12px"} },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "批次", key: "pc" },
    { show: true, title: "打印日期", key: "dyrq" },
    { show: true, title: "数量", key: "sl" },
    
  ]
}

/**
 * 
 * @param {*} 标签-膨胀水箱formdata 
 * @returns 
 */
export function use_bqdy_pzsx_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    pc: { ifdb: true, bt: false, value: "", title: '批次', dataIndex: 'pc', inputType: "input_item" },
    //zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "readonly" },
    bqlx: { ifdb: true, bt: false, value: "标签_膨胀水箱", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-通用colmun
 */
export function use_bqdy_ty_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "5rem"  ,style:{fontSize:"12px"}  },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "物料图号", key: "wlth" },
    { show: true, title: "批次", key: "pc" },
    //{ show: true, title: "物料增加时间", key: "zjsj" },
    { show: true, title: "数量", key: "sl" },
    { show: true, title: "打印日期", key: "dyrq" },

  ]
}

/**
 * 
 * @param {*} 标签-通用formdata 
 * @returns 
 */
export function use_bqdy_ty_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    pc: { ifdb: true, bt: false, value: "", title: '批次', dataIndex: 'pc', inputType: "input_item" },
    wlth: { ifdb: true, bt: false, value: "", title: '物料图号', dataIndex: 'wlth', inputType: "input_item" },
    bqlx: { ifdb: true, bt: false, value: "标签_通用", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-三维colmun
 */
export function use_bqdy_sw_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx" ,width: "5rem"  ,style:{fontSize:"12px"} },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "批次", key: "pc" },
    //{ show: true, title: "物料增加时间", key: "zjsj" },
    
    { show: true, title: "物料图号", key: "wlth" },
    { show: true, title: "数量", key: "sl" },
    { show: true, title: "打印日期", key: "dyrq" },
  ]
}

/**
 * 
 * @param {*} 标签-三维formdata 
 * @returns 
 */
export function use_bqdy_sw_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    pc: { ifdb: true, bt: false, value: "", title: '批次', dataIndex: 'pc', inputType: "input_item" },
    wlth: { ifdb: true, bt: false, value: "", title: '物料图号', dataIndex: 'wlth', inputType: "input_item" },
    bqlx: { ifdb: true, bt: false, value: "标签_三维", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-小金龙colmun
 */
export function use_bqdy_xjl_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "5rem"  ,style:{fontSize:"12px"}  },
    { show: true, title: "客户件号", key: "khjh" },
    { show: true, title: "供应商", key: "gys" },
    { show: true, title: "型号", key: "xh" },
    { show: true, title: "物料增加时间", key: "zjsj" },
   
    { show: true, title: "数量", key: "sl" },
    { show: true, title: "打印日期", key: "dyrq" },
    
    

  ]
}

/**
 * 
 * @param {*} 标签-小金龙formdata 
 * @returns 
 */
export function use_bqdy_xjl_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    xh: { ifdb: true, bt: false, value: "", title: '型号', dataIndex: 'xh', inputType: "input_item" },
    khjh: { ifdb: true, bt: false, value: "", title: '客户件号', dataIndex: 'khjh', inputType: "input_item" },
    gys: { ifdb: true, bt: false, value: "", title: '供应商', dataIndex: 'gys', inputType: "input_item" },
    zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "date_item" },
    bqlx: { ifdb: true, bt: false, value: "标签_小金龙", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },

    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-大金龙内colmun
 */
export function use_bqdy_djln_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "5rem"  ,style:{fontSize:"12px"}  },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "批次", key: "pc" },
    //{ show: true, title: "物料增加时间", key: "zjsj" },
    { show: true, title: "规格", key: "gg" },
    { show: true, title: "型号", key: "xh" },
    { show: true, title: "打印日期", key: "dyrq" },
    { show: true, title: "数量", key: "sl" },
    
    

  ]
}

/**
 * 
 * @param {*} 标签-大金龙内formdata 
 * @returns 
 */
export function use_bqdy_djln_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    gg: { ifdb: true, bt: false, value: "", title: '规格', dataIndex: 'gg', inputType: "input_item" },
    xh: { ifdb: true, bt: false, value: "", title: '型号', dataIndex: 'xh', inputType: "input_item" },
    pc: { ifdb: true, bt: false, value: "", title: '批次', dataIndex: 'pc', inputType: "input_item" },
    zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "date_item" },
    bqlx: { ifdb: true, bt: false, value: "标签_大金龙内", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    scrq: { ifdb: true, bt: false, value: "", title: '生产日期', dataIndex: 'scrq', inputType: "date_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}

/**
 * 
 * @returns 标签-大金龙外colmun
 */
export function use_bqdy_djlw_initcolmun() {
  return [
    { show: true, title: "序号", key: "xuhao", width: "2.3rem" },
    { show: true, title: "标签类型", key: "bqlx",width: "5rem"  ,style:{fontSize:"12px"}  },
    { show: true, title: "物料编码", key: "wlbm" },
    { show: true, title: "物料名称", key: "wlmc" },
    { show: true, title: "批次", key: "pc",width: "3rem" },
    //{ show: true, title: "物料增加时间", key: "zjsj" },
    
    { show: true, title: "规格", key: "gg" },
    { show: true, title: "毛重", key: "mz" ,width: "4rem"},
    { show: true, title: "单位", key: "dw" ,width: "3rem"},
    { show: true, title: "包装数量", key: "bzsl" ,width: "3rem"},
    { show: true, title: "打印日期", key: "dyrq" ,width: "7rem", style:{fontSize:"12px"}},
    { show: true, title: "数量", key: "sl" ,width: "4rem"},
    
    

  ]
}

/**
 * 
 * @param {*} 标签-大金龙外formdata 
 * @returns 
 */
export function use_bqdy_djlw_initformdata() {
  //create_time,update_time 插入方法自动拼接 
  var initformdata = {
    id: { ifdb: true, bt: false, value: "", title: 'id', dataIndex: 'id', inputType: "none" },
    djxx_title: { ifdb: false, bt: false, value: "", title: '表单信息', dataIndex: 'djxx_title', inputType: "title_item" },
    create_by: { ifdb: true, bt: false, value: storage.ygxm, title: '创建者', dataIndex: 'create_by', inputType: "input_item", disabled: true },
    create_time: { ifdb: false, bt: false, value: usenowDate(), title: '创建时间', dataIndex: 'create_time', inputType: "date_item", disabled: true },
    update_by: { ifdb: true, bt: false, value: storage.ygxm, title: '修改者', dataIndex: 'update_by', inputType: "input_item", disabled: true },
    update_time: { ifdb: false, bt: false, value: usenowDate(), title: '修改时间', dataIndex: 'update_time', inputType: "date_item", disabled: true },
    wlbm: { ifdb: true, bt: false, value: "", title: '物料编码', dataIndex: 'wlbm', inputType: "input_item" },
    wlmc: { ifdb: true, bt: false, value: "", title: '物料名称', dataIndex: 'wlmc', inputType: "input_item" },
    gg: { ifdb: true, bt: false, value: "", title: '规格', dataIndex: 'gg', inputType: "input_item" },
    pc: { ifdb: true, bt: false, value: "", title: '批次', dataIndex: 'pc', inputType: "input_item" },
    mz: { ifdb: true, bt: false, value: "", title: '毛重', dataIndex: 'mz', inputType: "input_number_item" },
    dw: { ifdb: true, bt: false, value: "", title: '单位', dataIndex: 'dw', inputType: "input_item" },
    bzsl: { ifdb: true, bt: false, value: "", title: '包装数量', dataIndex: 'bzsl', inputType: "input_number_item" },
    zjsj: { ifdb: true, bt: false, value: usenowDate(), title: '物料增加时间', dataIndex: 'zjsj', inputType: "date_item" },
    bqlx: { ifdb: true, bt: false, value: "标签_大金龙外", title: '标签类型', dataIndex: 'bqlx', inputType: "readonly" },
    dylt_title: { ifdb: false, bt: false, value: "", title: '打印条件', dataIndex: 'dylt_title', inputType: "title_item" },
    sl: { ifdb: true, bt: false, value: "", title: '数量', dataIndex: 'sl', inputType: "input_number_item" },
    scrq: { ifdb: true, bt: false, value: "", title: '生产日期', dataIndex: 'scrq', inputType: "date_item" },
    dyrq: { ifdb: true, bt: false, value: usenowDate(), title: '打印日期', dataIndex: 'dyrq', inputType: "date_item" },

  }
  return initformdata
}


